//
//  EGMQueue.h
//  EGMLibrary
//
//  Created by hh on 15/12/21.
//  Copyright © 2015年 egoman. All rights reserved.
//

#import <Foundation/Foundation.h>

//__covariant 协变，子类可强制转换为父类
//__contravariant 逆变，父类可强制转换为子类
@interface EGMQueue<ObjectType> : NSObject
-(void)add:(ObjectType)element;
-(void)remove;
-(ObjectType)element;
-(NSInteger)size;
-(void)clear;
@end
